package com.xgit.iov.work.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.xgit.iov.work.model.DbdTerminal;

import java.util.List;


/**
 * 终端Mapper接口
 *
 * @author william
 * @date 2020-12-04
 */

@Mapper
public interface DbdTerminalMapper extends BaseMapper<DbdTerminal> {
    /**
     * 查询终端
     *
     * @param id 终端ID
     * @return 终端
     */
     DbdTerminal selectDbdTerminalById(Long id);

    /**
     * 查询终端列表
     *
     * @param dbdTerminal 终端
     * @return 终端集合
     */
    IPage<List<DbdTerminal>> selectDbdTerminalPage(Page page, @Param("ew") DbdTerminal dbdTerminal);

}
